﻿<Window x:Class="MetaTracker.View.AddUserWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        WindowStartupLocation="CenterScreen"
        Title="AddUserWindow" Height="219" Width="367">
    <StackPanel Orientation="Vertical" Margin="5,0,5,0">
        <TextBlock Margin="0,25,0,15" Text="{Binding ErrorMessage, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}" 
                   HorizontalAlignment="Center"/>
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="AUTO"/>
                <RowDefinition Height="AUTO"/>
                <RowDefinition Height="AUTO"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="AUTO"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <TextBlock Grid.Row="0" Grid.Column="0" Text="User Name: "/>
            <TextBlock Grid.Row="1" Grid.Column="0" Text="Password: "/>
            <TextBlock Grid.Row="2" Grid.Column="0" Text="Confrim Password: "/>
            <TextBox Grid.Row="0" Grid.Column="1" Text="{Binding NewUserName, Mode=TwoWay, 
                UpdateSourceTrigger=PropertyChanged}"/>
            <PasswordBox Name="PasswordBox1"  Grid.Row="1" Grid.Column="1" /> <!--Password="{Binding NewPassword}"/>-->
            <PasswordBox Name="PasswordBox2" Grid.Row="2" Grid.Column="1" /> <!--Password="{Binding NewPasswordConfirmation}"/>-->
        </Grid>
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="00,20,0,0">
            <Button Width="70" Content="_Cancel" Margin="0,0,45,0"/>
            <Button Width="70" Content="_Register" Name="RegisterButton" />
        </StackPanel>
    </StackPanel>
</Window>
